package com.victualler.core.common.dto.list;

import java.io.Serializable;

/**
 * @Aouthor Guoshichang
 * @Date 16:51 on 2018/7/7.
 * @Function 展示一个list页中一列元素的实体
 */
public class ColumnItemDto implements Serializable {
    //列名(中文名)
    private String  title;
    //渲染类型: 普通/图片
    private String  type;
    //若转换的话来自哪里  比如 要翻译的字典码
    private String dictCodeType;
    //宽度
    private int  width;
    //对应的字段名称
    private String  fieldName;
    //排序规则
    private int sort;
    //字段
    private boolean showFlag = true;

    public ColumnItemDto() {

    }


    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }



    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getDictCodeType() {
        return dictCodeType;
    }

    public void setDictCodeType(String dictCodeType) {
        this.dictCodeType = dictCodeType;
    }

    public boolean isShowFlag() {
        return showFlag;
    }

    public void setShowFlag(boolean showFlag) {
        this.showFlag = showFlag;
    }
}
